﻿using System.Collections.Generic;
using Cms.Domain;

namespace Cms.Application.Admin.Views
{
    public interface ISearchContentView : IAdminPageView, ITranslatable
    {
        int SelectedLocaleID { get; set; }

        int SelectedCategoryID { get; set; }

        string ContentName { get; set; }

        string FilterState { get; set; }

        int SelectedPageSize { get; set; }

        ContentSortMode SortMode { get; set; }

        SortDirection SortDirection { get; set; }

        int SelectedMasterTemplateID { get; set; }

        bool ShowPreviews { get; set; }
        void SetLocales(IList<Locale> locales);
        void SetContentList(IList<Content> content, int itemCount, int currentPage, int pageSize);

        void SetCategories(IList<Category> rootCategories);
        void SetMasterTemplates(IList<MasterTemplate> masterTemplates);
    }
}